<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>欢迎访问[[${name}]]</h1>
    <select>
        <option th:each="cty:${citys}">[[${cty}]]</option>
    </select>

    <h1>-------------------------------------</h1>

    <select name="" id="">
        <option th:each="a:${citys}" th:text="${a}"></option>
    </select>
</body>
</html>